<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>拉萨公交</title>
		<link rel="stylesheet" href="css/bootstrap.css" />
		<link rel="stylesheet" href="css/statistics.css">
		<link rel="stylesheet" href="css/bootstrap-datepicker.standalone.css" />
		<!--<meta name="viewport" content="width=device-width, initial-scale=1">-->
		<script src="js/jquery-3.1.1.min.js"></script>
		<script src="js/bootstrap.min.js"></script>
		<script src="js/highcharts.js"></script>
		<script src="js/highcharts-more.js"></script>
		<script src="js/data.js"></script>
		<script src="js/bootstrap-datepicker.min.js"></script>
		<script src="locales/bootstrap-datepicker.zh-CN.min.js"></script>
        
 
		<script>
			function createTable() {
				var cols = 12;
				var rows = 100;
				var htmlStr = "";
				for(var i = 1; i <= rows; i++) {
					htmlStr += "<tr>";
                    htmlStr += "<td>线路231</td>";
					for(var j = 1; j <= cols; j++) {
						htmlStr += "<td>" +rnd(1000,99999)+"</td>";
					}
					htmlStr += "</tr>";
				}
				document.getElementById("tbody").innerHTML = htmlStr;
			}
        function rnd(start, end){
            return Math.floor(Math.random() * (end - start) + start);
        }
		</script>
        
	</head>

	<body onload="createTable()">
        
        <div>
            <nav class="navbar navbar-default" role="navigation">
                <div class="container-fluid">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="#">报表</a>
                    </div>
                    
                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li>
                                <a href="#">选项1</a>
                            </li>
                            <li>
                                <a href="#">选项2</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">下拉选项1 <span class="caret"></span></a>
                                <ul class="dropdown-menu" role="menu">
                                    <li>
                                        <a href="#">操作1</a>
                                    </li>
                                    <li>
                                        <a href="#">另一个操作</a>
                                    </li>
                                    <li>
                                        <a href="#">其他的事务</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">分开的选项</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">另一个分开的选项</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                        <form class="navbar-form navbar-left" role="search">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="搜索">
                                    </div>
                            <button type="submit" class="btn btn-default">提交</button>
                        </form>
                        <ul class="nav navbar-nav navbar-right">
                            <li>
                                <a href="#">Link</a>
                            </li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a>
                                <ul class="dropdown-menu" role="menu">
                                    <li>
                                        <a href="#">Action</a>
                                    </li>
                                    <li>
                                        <a href="#">Another action</a>
                                    </li>
                                    <li>
                                        <a href="#">Something else here</a>
                                    </li>
                                    <li class="divider"></li>
                                    <li>
                                        <a href="#">Separated link</a>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                    <!-- /.navbar-collapse -->
                </div>
                <!-- /.container-fluid -->
            </nav>

        
        
		<div class="container">
			<table class="table table-hover">
				<thead>
					<tr>
                        <th>线路</th>
						<th>一月</th>
						<th>二月</th>
						<th>三月</th>
						<th>四月</th>
						<th>五月</th>
                        <th>六月</th>
                        <th>七月</th>
                        <th>八月</th>
                        <th>九月</th>
                        <th>十月</th>
                        <th>十一月</th>
                        <th>十二月</th>

                        
					</tr>
				</thead>
				<tbody id="tbody">
					<tr>
						<td>Tanmay</td>
						<td>Bangalore</td>
						<td>560001</td>
					</tr>
					<tr>
						<td>Sachin</td>
						<td>Mumbai</td>
						<td>400003</td>
					</tr>
					<tr>
						<td>Uma</td>
						<td>Pune</td>
						<td>411027</td>
					</tr>
				</tbody>
			</table>
		</div>
	</body>

</html>
